package com.fpx.order.plat.bussiness.entity;

import java.text.SimpleDateFormat;
import java.util.Date;

public class ResponseMessage implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	
	/**
	 * 处理结果编码 Y 成功，其它表示失败
	 */
	private String rsCode;
	/**
	 * 结果描述
	 */
	private String rsDesc;
	/**
	 * 响应时间
	 */
	private String rsDateTime;
	/**
	 * 响应业务处理对象
	 */
	private String bodyJsonContent;
	
	/**
	 * 成功拉单数
	 */
	private String orderSuccessNum;
	
	public String getRsCode() {
		return rsCode;
	}
	public void setRsCode(String rsCode) {
		this.rsCode = rsCode;
	}
	public String getRsDesc() {
		return rsDesc;
	}
	public void setRsDesc(String rsDesc) {
		this.rsDesc = rsDesc;
	}
	public String getRsDateTime() {
		if(rsDateTime==null){
			SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
			return format.format(new Date());
		}
		return rsDateTime;
	}
	public void setRsDateTime(String rsDateTime) {
		this.rsDateTime = rsDateTime;
	}
	public String getBodyJsonContent() {
		return bodyJsonContent;
	}
	public void setBodyJsonContent(String bodyJsonContent) {
		this.bodyJsonContent = bodyJsonContent;
	}
	public String getOrderSuccessNum() {
		return orderSuccessNum;
	}
	public void setOrderSuccessNum(String orderSuccessNum) {
		this.orderSuccessNum = orderSuccessNum;
	}
	
}
